package OOP.day08.PersonDemo;

public class Main {
    public static void main(String[] args) {
        Student zs = new Student("张三", 20, "TaiYuan", "计算机03", "2019031001");
        zs.study();
        zs.eat();
        zs.sleep();
        zs.talk();

        Doctor patient_ls = new Doctor("李四", 25, "BeiJing", "CARDIAC-SURGERY");
        patient_ls.treatPatient(new Patient("王五", 22, "SHANGHAI", "2024031605","FEVERDE-PARTMENT","fever"));

        Patient patient_zl = new Patient("赵六", 23, "WuHan", "2024031606", "EAR-NOSE-THROAT-DEPARTMENT", "headache");
        patient_zl.treating(patient_ls);

        Teacher teacher_qq = new Teacher("钱七", 30, "GuangZhou", "数学部003号", "Math");
        teacher_qq.teaching();
        teacher_qq.sleep();
    }
}
